/**
    账户提现 组件
**/
(function(vc){

    vc.extends({
        propTypes: {
           callBackListener:vc.propTypes.string, //父组件名称
           callBackFunction:vc.propTypes.string //父组件监听方法
        },
        data:{
            viewAccountWithdrawalApplyInfo:{
                index:0,
                flowComponent:'viewAccountWithdrawalApplyInfo',
                amount:'',
applyUserId:'',
applyUserName:'',
applyUserTel:'',
context:'',

            }
        },
        _initMethod:function(){
            //根据请求参数查询 查询 业主信息
            $that._loadAccountWithdrawalApplyInfoData();
        },
        _initEvent:function(){
            vc.on('viewAccountWithdrawalApplyInfo','chooseAccountWithdrawalApply',function(_app){
                vc.copyObject(_app, $that.viewAccountWithdrawalApplyInfo);
                vc.emit($props.callBackListener,$props.callBackFunction,$that.viewAccountWithdrawalApplyInfo);
            });

            vc.on('viewAccountWithdrawalApplyInfo', 'onIndex', function(_index){
                $that.viewAccountWithdrawalApplyInfo.index = _index;
            });

        },
        methods:{

            _openSelectAccountWithdrawalApplyInfoModel(){
                vc.emit('chooseAccountWithdrawalApply','openChooseAccountWithdrawalApplyModel',{});
            },
            _openAddAccountWithdrawalApplyInfoModel(){
                vc.emit('addAccountWithdrawalApply','openAddAccountWithdrawalApplyModal',{});
            },
            _loadAccountWithdrawalApplyInfoData:function(){

            }
        }
    });

})(window.vc);
